home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
352_01
/
lcabove.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-22
|
415b
|
21 lines
// LCABOVE.CPP - contains LinkClass::InsertAbove()
// routine for inserting a node above the 'this' node for linked lists.
//
#include <stdlib.h>
#include <alloc.h>
#include <iostream.h>
#include "wtwg.h"
#include "dblib.h"
void LinkClass::insertAbove ( LinkClass &existing )
{
nx = existing.nx;
pv = &existing;
pv->nx = this;
nx->pv = this;
}; // end LinkClass::insertAbove()